import { createApp } from 'vue';

import axios from 'axios';

// 仅导入ElementPlus的样式
import 'element-plus/dist/index.css';

// import router from './router/index.js';
import router from './router';

import App from './App.vue';

const app = createApp(App);

app.use(router);

// 将原始的 axios 添加到全局属性
app.config.globalProperties.axios = axios;

app.mount('#app');
